/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entities;

/**
 *
 * @author serhat
 */
public class Ticket {
    private Passenger passenger;
    private Seat seat;
    private float fee;
    
    public Ticket(Seat seat, Passenger passenger, float fee){
        this.seat = seat;
        this.passenger = passenger;
        this.fee = fee;
    }
    public Passenger getPassenger() {
        return passenger;
    }

    public void setPassenger(Passenger passenger) {
        this.passenger = passenger;
    }

    public Seat getSeat() {
        return seat;
    }

    public void setSeat(Seat seat) {
        this.seat = seat;
    }

    public float getFee() {
        return fee;
    }

    public void setFee(float fee) {
        this.fee = fee;
    }
    
    
    
    
}
